import request from '@/utils/request'

// 查询规则权重管理列表
export function listRuleweightmanagement(query) {
  return request({
    url: '/system/ruleweightmanagement/list',
    method: 'get',
    params: query
  })
}

// 查询规则权重管理详细
export function getRuleweightmanagement(id) {
  return request({
    url: '/system/ruleweightmanagement/' + id,
    method: 'get'
  })
}

// 新增规则权重管理
export function addRuleweightmanagement(data) {
  return request({
    url: '/system/ruleweightmanagement',
    method: 'post',
    data: data
  })
}

// 修改规则权重管理
export function updateRuleweightmanagement(data) {
  return request({
    url: '/system/ruleweightmanagement',
    method: 'put',
    data: data
  })
}

// 删除规则权重管理
export function delRuleweightmanagement(id) {
  return request({
    url: '/system/ruleweightmanagement/' + id,
    method: 'delete'
  })
}
